/*
 * @Author: [yuantongxin]
 * @Date: 2021-10-23 16:50:48
 * @LastEditors: [yuantongxin]
 * @LastEditTime: 2021-10-23 17:25:44
 * @Description: 
 */
import {get,post} from '@/utils/request'

// 删除
export function deleteById(data){
    return get('/category/deleteById',data)
}

// 查询所有资讯分类
export function findAll(data){
    return get('/category/findAll',data)
}

// 批量删除
export function batchDelete(data){
    return post('/category/batchDelete',data)
}

// 保存或更新
export function saveOrUpdate(data){
    return post('/category/saveOrUpdate',data)
}